/**
 * Copyright © 2009 Qasky. All rights reserved.
 *
 * 用户状态管理
 *
 * @author Wang Hongya
 * @version 0.0.0 2019/11/20
 *
 * History:
 * (author, date, desc)
 * (Wang Hongya, 20191120, 添加注释)
 */
const user = {
    state: {
        access_token: ''
    },
    mutations: {
        getAccess_token (state, arg) {
            state.access_token = arg
        },

    },
    actions: {
        setAccess_token ({commit}, arg) {
            commit('getAccess_token', arg)
        },
    }
};

export default user
